﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Vehicle.BLL
{
    /// <summary>
    /// Copyright (C) M-Tear团队
    /// 文 件 名：Permissions.cs
    /// 版    本：v1.00.0000
    /// 创建标识：2009-08-27    Created by 陈天铸 V1.00.0000
    /// 功能说明：Permissions表逻辑层类（继承于逻辑层基类)
    /// 注意事项：无
    /// 
    /// 更新记录：2009-07-12 添加获得左边下拉菜单方法
    /// 
    /// </summary>
    public class Permissions:BLL.Base_BLL,IPermissions
    {
        private static readonly Vehicle.Interface.IPermissions d_Permissions = Vehicle.Interface.Factory.CreatePermissions();
        /// <summary>
        /// 绑定页面DataList控件
        /// </summary>
        /// <param name="dlst">DataList控件</param>
        ///  <param name="ma">系统通用实体层</param>
        public  void DataListBind(DataList dlst)
        {
            d_Permissions.DataListBind(dlst);
        }
        /// <summary>
        /// 获得左边下拉菜单节点
        /// </summary>
        /// <param name="m_ComponentsInfo">通用实体对象</param>
        /// <returns></returns>
        public  DataTable GetLeftList(Model.ComponentsInfo m_ComponentsInfo)
        {
          return  d_Permissions.GetLeftList(m_ComponentsInfo);
        }
     
    }
}
